[#include "/WEB-INF/pages/common/taglibs.ftl"]
<table>
	<tr>
		<td>
			<form action="[@c.url value='/manage/FormArticle_saveItem.action'/]" method="post">
				<input name="formItem.id" type="hidden" value="${(formItem.id)!''}" />
				<input type="hidden" name="id" value="${id!''}" title="formId"/>
				<table style="width:100%" cellspacing="0" cellpadding="0" border="0" class="stdtable-form" id="formItemTable">
					<thead>
						<tr>
							<th class="head0"></th>
							<th class="head1"></th>
							<th class="head0"></th>
							<th class="head1"></th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td style="width:65px">标题：</td>
							<td colspan=3><input type="text" class="mediuminput" placeholder="?" name="formItem.title" value="${(formItem.title)?if_exists}"/></td>
						</tr>
						<tr>
							<td style="width:65px">名称：</td>
							<td><input type="text" class="longinput" placeholder="?" name="formItem.name" value="${(formItem.name)?if_exists}"/></td>
							<td style="width:65px">类型：</td>
							<td><select name="formItem.htmlElement">
									<option value="INPUT">INPUT</option>
									<option value="CHECKBOX">CHECKBOX</option>
									<option value="RADIO">RADIO</option>
									<option value="SELECT">SELECT</option>
								</select>
							</td>
						</tr>
						<tr>
							<td style="width:65px">输入校验：</td>
							<td colspan=3><input type="text" class="longinput" placeholder="?" name="${_Constants.FORM_ITEM_PREFIX}${_Constants.FORM_ARTICLE_ITEM_VALIDATE!'FORM_ITEM_VALIDATE?'}" value="${(formItem.formItemExtendMap['${_Constants.FORM_ARTICLE_ITEM_VALIDATE}'].value)?if_exists}"/></td>
						</tr>
						<tr>
							<td style="width:65px">属性：</td>
							<td>
								<ul>
									<li style="margin:2px 1px;">显示宽度：<input type="text" style="width:20%;" placeholder="?" name="${_Constants.FORM_ITEM_PREFIX}${_Constants.FORM_ARTICLE_ITEM_WIDTH!'FORM_ITEM_WIDTH?'}" value="${(formItem.formItemExtendMap['${_Constants.FORM_ARTICLE_ITEM_WIDTH}'].value)?if_exists}"/></li>
									<li style="margin:2px 1px;">显示高度：<input type="text" style="width:20%;" placeholder="?" name="${_Constants.FORM_ITEM_PREFIX}${_Constants.FORM_ARTICLE_ITEM_HEIGHT!'FORM_ITEM_HEIGHT?'}" value="${(formItem.formItemExtendMap['${_Constants.FORM_ARTICLE_ITEM_HEIGHT}'].value)?if_exists}"/></li>
									<li style="margin:2px 1px;">最大长度：<input type="text" style="width:20%;" placeholder="?" name="${_Constants.FORM_ITEM_PREFIX}${_Constants.FORM_ARTICLE_ITEM_LENGTH!'FORM_ITEM_LENGTH?'}" value="${(formItem.formItemExtendMap['${_Constants.FORM_ARTICLE_ITEM_LENGTH}'].value)?if_exists}"/></li>
								</ul>
							</td>
							<td colspan=2></td>
						</tr>
						<tr>
							<td style="width:65px">数据源：</td>
							<td><textarea name="formItem.ds">${(formItem.ds)!''}</textarea></td>
							<td style="width:65px">绑定关系：</td>
							<td>名称绑定：<input type="text" class="mediuminput" placeholder="?" name="formItem.bindName" value="${(formItem.bindName)?if_exists}"/><br>
								结果绑定：<input type="text" class="mediuminput" placeholder="?" name="formItem.bindValue" value="${(formItem.bindValue)?if_exists}"/>
							</td>
						</tr>
						<tr>
							<td colspan=3></td>
							<td><button class="stdbtn" style="opacity: 1;" id="formItemSubmit">提&nbsp;&nbsp;&nbsp;&nbsp; 交</button></td>
						</tr>
					</tbody>
				</table>
			</form>
		</td>
	</tr>
</table>